Pseudo-noise test set for communication system evaluation

ABSTRACT

A test set for communications systems includes a pseudo-noise sequence generator providing a test signal which is fed to a pair of signal channels. The first channel includes a spectrum shaping filter and a conditioning amplifier. The second channel includes a variable delay circuit, a spectrum shaping filter matched to the first filter, and an amplifier. The output of the first channel is applied to the system under test. The output of the system and the output of the second channel are compared to determine the degree of distortion suffered by the test signal due to the communications system.

United States Patent 1 1 1111 Fletcher et al. Apr. 1, 1975 PSEUDO-NOISE TEST SET FOR 3,444,360 5/1969 Swan 235/181 x COMMUNICATION SYSTEM EVALUATION 3,694,643 9/1972 Smith 324/57 PS X 3,7l8,8l3 2/1973 W1ll1ams, Jr. et al. 324/57 PS X [76] Inventors: James C. Fletcher, Administrator of 2 N if?! wp '8: space Primary ExaminerStanley T. Krawczewicz mulls m respec 0 an Attorney, Agent, or FirmGeorge J. Porter; L. D. mventlon of; Gabriel R. Wallace; wofford Jr John R Mannin William E. Salter; Glenn D. g Weathers, all of Huntsville, Ala; Sidney S. Gussow, Palm Bay, Fla. ABSTRACT [22] Fil d; N 23, 1973 A test set for communications systems includes a pseudo-noise sequence generator providing a test sig- [2 Appl' 419331 nal which is fed to a pair of signal channels. The first channel includes a spectrum shaping filter and a con- 52 us. 0. 324/57 PS, l78/69 A, 235/181, ditioning amplifier- The second channel includes 324 77 H, 325 7 variable delay circuit, a spectrum shaping filter 1511 lm. c1 G0lr 27/00 matched to the first fi and an amplifier- The [58] Field of S h 324/57 P5 57 N 77 H; put of the first channel is applied to the system under 235/131; 325/ 7; 173 9 A test. The output of the system and the output of the second channel are compared to determine the degree [56] R f n Ci d of distortion suffered by the test signal due to the commumcatlons System.

3,399,299 8/1968 Nichols 235/l8l X 9 Claims, 5 Drawing Figures 20 CHANNEL 2 SPECTRUM 22 SHAPlN s COND- 5 Y 51' E M SYST PN.SEQUENCE do ANALOG MODE uuo E R c1 oc1 GENERATOR DELAYED CONTROL TEST DELAYED ANALOG L l2 DIGITAL '9 DELAY SPECTRUM CHANNEL SHAPING R INDICATOR CIRCUIT FILTER a n f: B; cos(w' 1) Z, A cosm i 9H) FIG RMS SEQUENCE n GENERATOR DELAY? 2 8; cos (w t -1'w Fl 6.2. CHANNELZ SPECTRUM DIGITALx-J SHAPING R F'LTE SYSTEM SYSTEM PNSEQUENCE Milo ANALOG 24 MODE UNDE R CLOCK GENERATOR DELAYED CONTROL TESTL DELAYED ANALOG 26 I2 DRGITAL '9 l7 30x SPECTRUM DELAY SHAPING c ing). an; INDICATOR CHANNEL cmcun' FILTER J l8 2| 2 I4 L 24 MODE TAPE [-76 3;] RECORD/ 32 CONTROL PUP-FLOP PLAYEIACK 24 l3 36 27 MODE /34 TAPE l8 "comm RECORD DELAY o D 28 P AY S L BACK CRCUT *FILTEn AMP: 7 l I l4 ls 2 FIG. 4.

PSEUDO-NOISE TEST SET FOR COMMUNICATION SYSTEM EVALUATION ORIGIN OF THE INVENTION The invention described herein was made in the performance of work under a NASA contract and is subject to the provisions of Section 305 of the National Aeronautics and Space Act of I958, Public Law 85-568 (72 Stat. 435; 42 U.S.C. 2457).

BACKGROUND OF THE INVENTION The present invention relates generally to test sets for communications systems, and more particularly to such test sets which utilize a pseudo-noise sequence generator to generate the test signal, apply the signal to a communications system. and which compare the system output to the test signal.

Until recently, the usual practice in end-to'end testing of communication systems has been to feed simple, deterministic signals into the system being tested and note the response. The response was then compared with a delayed and amplitude scaled version of the input signal to enable one to determine the distortion caused by the system and, thus, establish a system figure of merit. Unfortunately, most communication systems experience complex input signals and true simulations of system inputs are difficult to obtain. Even with the approximation of these complex signals (for instance, the sum of a number of independent sine waves), the deterministic approach has often proven unacceptable. Usually the number of component signals were inadequate to truly simulate the normal system input. As a result, beatfrequencies or harmonics effects were often missed and the true system performance was not evaluated. To overcome this deficiency, band-limited noise (usually limited to the same operational bandwidth as the tested system) is now often used as a test signal and represents a very general approach to communication system performance evaluation. Yet, while band-limited noise is an excellent tool with which to simulate realistic data conditions, it has proven difficult to uniformly delay, thereby making valid system input/output comparisons difficult to accomplish.

There are two basic ways to test a system utilizing band-limited noise as a test signal digital and analog. With the digital approach, band-limited noise is fed into a test system and the output monitored. The system input is sampled and digitized (thereby the digital notation). These digitized samples are compared with digitized samples of the test system output yielding mean square values of the distortion introduced. Constant gain and average delay factors are compensated so that they do not contribute to the distortion introduced by the system being tested since these factors are not usually considered as errors. There are two primary advantages of such a scheme. A complex test signal is used that is similar to the expected operational input spectrum, and all operations after sampling are digital. The primary disadvantages are that quantizing errors exist and that the effects of system spikes, such as FM "clicks," are often still missed.

In the analog system approach, band-limited noise is fed into a test system. The system output is compared on an RMS basis with a delayed and scaled version of the system input. The obvious advantages are that the equipment is compact and relatively simple to build.

The largest disadvantage is the difficulty in delaying the complex input without distortion.

SUMMARY OF THE INVENTION The pseudo-noise (PN) test set which comprises the present invention provides a reliable, operationally simple unit which will allow the previously mentioned analog RMS end-to-end error measurement of most communication systems to be easily performed. It also provides a band-limited pseudorandom noise as an input, thereby escaping the disadvantages of most deterministic signals while retaining the advantages of using true band-limited noise. The test set provides both realtime and record/playback systems testing capabilities for measuring RMS error, system time delay, correlation function, and system impulse response (assuming a linear system).

The test set uses filtered pseudorandom data and an analog error measuring approach to provide near- Gaussian, wideband data as a test signal which exercises the entire designed spectrum of the communication system under test.

The digital output signal of a PN sequence generator is fed to two signal channels. In the first channel, the signal is delayed and then fed into a spectrum shaping filter to provide a delayed analog signal. It is important to note that the delay is introduced into the signal prior to the filter, while the signal is in digital form. This technique avoids the problems noted above which are associated with delaying analog signals. The delayed analog signal is then fed to an amplifier having an adjustable gain. In the second channel, the signal is fed to a spectrum shaping filter very closely matched to the filter in the first channel to provide an analog signal, which is fed into another adjustable gain amplifier. The amplifier output is fed into the system under test. The system output is then compared to the delayed signal from the first channel, the difference being indicative of the system operation characteristics. The delay introduced into the signal in the first channel is variable and, in the real-time and playback modes of operation, is adjusted to provide the minimum difference indication from the comparator device.

The system under test may be a real-time system, such as communications link, or it may be a non-realtime system, such as a tape recorder system.

Therefore, it is an object of the present invention to provide a communications test set for measuring the operating characteristics of both real-time and nonreal-time systems.

It is another object of the present invention to provide a test set for measuring very accurately the RMS error of a communications system.

It is a further object of the present invention to provide a test set for communications systems which is reliable, operationally simple and extremely accurate.

It is still another object of the present invention to provide a communications test set which measures RMS error, system time delay, correlation function, and system impulse response.

BRIEF DESCRIPTION OF THE DRAWING Other objects, advantages, and novel features of the invention will become apparent from the following detailed description of the invention when considered in conjunction with the accompanying drawings, in which:

FIG. I shows a functional block diagram of the PN test arrangement;

FIG. 2 shows the PN test set block diagram;

FIGS. 3A and 3B show signal flow diagrams for the record and playback modes; and

FIG. 4 is a schematic diagram of the record/playback interface circuitry.

DESCRIPTION OF THE PREFERRED EMBODIMENT Correctly defined noise signals give a good approximation of the data signals handled by communication systems. The noise signals must be stationary to assure that the measurements are repeatable. Noise can be defined by two unrelated parameters, power spectral density and the amplitude probability density function.

Power spectral density (PSD) describes how the energy in a noise signal is distributed in frequency. Generally, the noise power spectral density, as a function of frequency, can take almost any shape; however, the most common specification is that the power spectral density be constant with frequency. This describes "white" noise.

Probability density function (PDF) of a noise signal is defined as that function which, when integrated over an interval X gives the probability that the noise amplitude, X lies in the interval xhx Specifically,

and p(.r) is the amplitude probability density function, PDF.

True noise data signals are difficult to delay without introducing appreciable distortion. This problem is eliminated by using digitally generated pseudorandom noise signals. PN signals produced by the test set are, in fact. not random but are completely definitive and repetitive. These PN signals closely resemble true random noise signals from both the power spectral density and probability density function aspects.

A pseudorandom binary sequence can be generated by a shift register with an input dependent on feedback from certain register stages. The maximal length (ML) PN binary sequence is of length L and contains 2" 1 bits before repetition of the sequence (where N is the number of register stages).

An important characteristic of pseudorandom sequences is the correlation property. If a binary sequence is pseudorandom, the correlation function of the sequence. and the sequence shifted with respect to itself, is constant for all shifts other than shifts of an integer number of sequence periods. Specifically, if vector A is a sequence a a and B is a shifted version of this same sequence (with j shifts), then the correlation function (R) is:

1 L am 69 1) (2) where the G indicates modulo-2 addition. If the sequence is pseudorandom,

R(O j N) llL, (3)

R(j L) l where L 2" 1.

This correlation property of a pseudorandom sequence is particularly important because it verifies that the signal generation approximates a random process.

The power spectrum envelope of a PN sequence is a (sin X/X) curve with the first zero occurring at the sequence clock frequency (w If the PN sequence is lowpass filtered, with the cutoff frequency (01 restrained to 10,, (a l 15, then the PDF of the resultant analog signal is approximately Gaussian.

Noise signals generated by lowpass filtering of ML PN sequences are partially described by the cutoff frequency and order of the filter. The spectrum amplitude is approximately flat for w w, the envelope is down three decibels (dB) at (0,. At frequencies greater than (n the envelope rolls off at a rate of 6 m dB/octave (where m is the data filter order). The spectrum is not continuous but consists of closely spaced spectral lines "k/( l )1- FIG. 1 is a functional block diagram of the PN test arrangement. The filtered PN sequence is represented as a sum of sinusoids,

f B cos (w t) 8 1 cos t A scaled and delayed version of the original analog signal is Q 2 B cos (w t Tw (6) The difference between these two complex waveforms is evaluated on an RMS basis by the PN test set to give a figure of merit relating to the system's ability to transfer the complex pseudonoise data signals.

Referring now to FIG. 2, a PN sequence generator 10, such as an ML, 20 stage shift register with feedback from taps l7 and 20, is timed by a system clock 12. The clock, which can be an astable multivibrator, is shown as being connected only to the generator 10 for the sake of simplicity; however, it is actually connected to various other circuits throughout the test set to provide timing pulses in the conventional manner. The output of the sequence generator 10 is applied to a pair of signal channels. The first channel includes delay circuit 14, a spectrum shaping filter 16, and a conditioning amplifier 18. The second channel includes a spectrum shaping filter 20 and a conditioning amplifier 22.

The delay circuit uses an incrementally controlled NAND gate matrix for coarse delay selection and a clock vernier for fine delay control. The clock vernier is an adjustable monostable, multivibrator utilizing standard integrated circuitry and discrete, external capacitors. While the delay circuit itself is not unique, its use at this point in the test set is important. The conventional method of adjusting the delay of the test signal to compensate for the average delay of the unit under test is to vary the clock frequency of the data generator until a null is reached. The delay is then a specific number of bits. However, this method is unacceptable with many generators since charging the ratio of the clock frequency to the data shaping filter cutoff frequency changes the statistics of the test signal. In order to keep the ratio within a certain narrow range and ensure near-Gaussian statistics, it is necessary to have a constant clock frequency. Without changing the clock frequency, only a null to within i l/2 bit period of the clock frequency can be achieved unless a Vernier time delay adjustment is provided. By using the monostable multivibrator, the delay can be coarse" nulled to within t l/Z bit period and then nulled to within a small fraction of a bit period by the vernier adjust, which is continuous within a bit period. This permits the effects of the average time delay of the unit under test to be removed and results in lower, more accurate RMS error figures. This is achieved without changing the clock frequency or test signal statistics.

The spectrum shaping filters I6 and 20 are Butterworth active lowpass filters matched to within 0.05 percent. The achievement of this level of matching required a sensitivity analysis of the circuit design, careful attention to component selection, and precise tuning. Five interchangeable plug-in filter sets have been constructed. Four are Butterworth third-order lowpass filters with 3 dB cutoff frequencies at 400 Hz, 500 Hz, 1000 Hz, and 2,000 Hz, and one is a first-order lowpass with 3 dB cutoff at 2,000 Hz. The cutoff frequencies were selected to provide near-Gaussian test signals with a clock frequency of 45 KHz. Thus, the clock frequency is substantially more than l5 times the cutoff frequency of any of the filters. The filters must be very closely matched because any differences in the signals due to filter mismatch will show up as system distortion, thus causing inaccurate measurements.

Conditioning amplifiers I8 and 22 are conventional amplifiers with gain and DC offset potentiometers.

A mode control 24 is used to provide proper signal paths for the real-time, record, or playback modes. Mode control 24 is a three-position switch with numerous contacts for providing the necessary connections. Its function will be explained as each mode is examined below.

The output signal of amplifier 22 is applied, through the mode control, to the system under test, 26. The system output is applied to one input of difference amplifier 28, which also receives the output of amplifier 18 at its outer input. The difference amplifier output is applied to indicator 30.

The operation of the test set has been explained generally by FIG. 1 and the above description of FIG. 2. In the real-time mode the set is connected as in FIG. 2. The test signal on line II is directed through mode control 24 to line 13 and applied to system 26. The system output signal on line 15 is directed through mode control 24 to line 17 and applied to difference amplifier 28. The delayed analog signal on line 19, which is to be compared with the system output signal, is applied to difference amplifier 28 through mode control 24 and line 21.

FIGS. 3A and 3B show the signal flow diagrams for the record and playback modes, respectively. The tape record/playback interface has three basic signals to handle; the test signal, or filtered sequence, present on line 11; the clock signal, present on line 27; and the unfiltered PN sequence from generator 10 present on line 23. As described above, the filtered sequence is analog and is the signal the distortion of which will be used to measure the system distortion. The clock signal and PN sequence are both digital. The filtered sequence passes through mode control 24 directly to be recorded on the tape. The clock signal and PN sequence are individually differentiated by differentiator 34 and recorded separately on two other tracks of the tape. These signals are differentiated so that only the times of crossings are recorded, thereby fitting more easily into the available bandwidth of the tape recorder system.

In the playback mode, the system output signal on line 15 (the playback of the recorded filtered sequence) passed through mode control 24 to difference amplifier 28 on line 17. The recorded differentiated clock signal and PN sequence are played back and applied to flip-flop 36. The clock signal triggers the flipflop to reconstruct the PN sequence. This process removes any removable time-base variations (i.e., wow and flutter) due to the tape recorder from the RMS error figure since the time-base errors introduced on the analog recorded signal are exactly compensated for by the same variations in the clock and PN sequence. The reconstructed clock and PN sequence are passed through mode control 24 to delay circuit 14 where the PN sequence is delayed, filtered, amplified and applied to difference amplifier 28 as the reference signal.

FIG. 4 shows the tape record/playback interface in schematic diagram form. Terminal 40 receives the unfiltered PN sequence during the record mode. Integrated circuits (IC) 42,44 and 46 provide signal shaping and inverting, while the inductance of transformer 48, along with circuit capacitance, provides the differentiating function. The differentiated PN sequence is applied to the tape recorder from terminal 50. The clock signal appears at terminal 60, passes through IC 52 and is differentiated by circuit capacitance and the inductance of transformer 54. The differentiated clock signal is applied to the tape recorder via terminal 70.

In the playback mode, the played-back differentiated PN sequence enters the interface at terminal 50, and passes through transformer 48. Signals of one polarity are applied to the base of transistor 56 through resistor 58 and capacitor 62. Diodes 64 and 66 isolate the played-back differentiated PN sequence from terminal 40, which is disabled during playback mode. The amplified signal from transistor 56 passes through IC 68 to terminal 4 of flip-flop 36. Signals of the other polarity are applied to the base of transistor 72 through resistor 74 and capacitor 76. The amplified signal passes through IC 78 to terminal II of flip-flop 36. The replayed differentiated clock signal enters the interface on terminal and is applied to transistor 82 through resistor 84 and capacitor 86. The signal then passes through IC 88 to terminal and flip-flop 36, and is now the reconstructed clock signal. The internal clock 10 is disabled during playback mode, and the clock signals from terminal 80 function as the system clock signals during playback mode. These clock signals, applied to terminal 2 of flip-flop 36, which may be a Fairchild DT 94559, time the flip-flop to reconstruct the PN sequence. The reconstructed PN sequence appears on terminal 90 and is applied to the delay circuit 14. The delay circuit is used here even though it would appear that both the test and PN sequence signals have the same time delay (both are entered into the system under test by being recorded on the tape) because of the slight skew between different tracks on the same tape, and because of possible variations in group delays among the recorded channels. The skew and possible group delay differences cause a slight time difference between tracks which is counteracted by the delay circuit.

The operating procedures for obtaining the various system measurements will now be described. To obtain real-time RMS error measurement due to waveform distortion in a communication system. the indicator 30 is a true-reading RMS voltmeter. With the mode control in the proper position. and the set connected to the system. the conditioning amplifier 22 is adjusted to the correct system dynamic range. The gain of conditioning amplifier 18 and the delay adjustment of delay circuit 14 are then adjusted to obtain a minimum reading on the indicator, the minimum reading being the RMS error. To obtain RMS error measurement on the nonreal-time system. the procedure is substantially the same except that the gain of amplifier 22 is adjusted in the record mode and the gain of amplifier 18 and the delay of delay circuit 14 are adjusted for a minimum reading during playback.

To measure system average time delay, it is merely necessary to determine the time delay setting of delay circuit 14 when the indicator 30 is at a minimum reading. The test set provides a delayed clock pulse from the delay circuit. An oscilloscope or counter can be used to measure the distance between the negative going edges of the pulses. This provides a measurement of the vernier time delay and is added to the incremental delay setting to obtain total time delay. In general, any way of measuring the time delay when the RMS meter reading is a minimum can be used.

It has been shown that the correlation maximum occurs at the RMS error minimum and that by measuring the system input, output and minimum RMS error. the correlation of the system is obtained in accordance with the following formula.

where:

RP2({(T) is the correlation;

e, is the system input voltage;

e: is the system output voltage;

2 is the error voltage.

As is well known in the art. for a linear system the impulse response is proportional to the cross-correlation function. Since the system time delay and system correlation function can be determined as described above, the system impulse response can be calculated in the conventional manner.

Obviously. many modifications and variations of the present invention are possible in light of the above teachings. [t is therefore to be understood that. within the scope of the appended claims, the invention may be practiced otherwise than as specifically described.

We claim:

I. A test set for testing a communications system comprising:

a clock;

a pseudo-noise sequence generator connected to the output of said clock to provide a digital signal;

a variable delay circuit connected to receive said digital signal and to provide a delayed digital signal;

a first spectrum shaping filter connected to receive said delayed digital signal and to provide a delayed analog signal;

a second spectrum shaping filter connected to receive said digital signal and to provide an analog test signal;

means for connecting said analog test signal to the communications system;

means for comparing two input signals and providing an output signal indicative of the differences in the signals; and

means for connecting the output of said communications system and the delayed analog signal to said comparing means.

2. The test set of claim 1 wherein said first and second spectrum shaping filters are matched. Butterworth third-order lowpass filters.

3. The test set of claim 2 wherein said filters are matched to less than 0.005 percent RMS error.

4. The test set of claim 3 wherein said filters are lowpass filters with a cutoff frequency which is less than one-fifteenth of the clock frequency.

5. The test set of claim 4 wherein:

said clock is an astable multivibrator; and.

said pseudo-noise sequence generator is an ML. 20 stage shift-register with feedback from taps (l7) and (20).

6. The test set of claim 4 wherein:

said clock has an output frequency of 45 KHz; and.

said filters have a cutoff frequency of 1,000 Hz.

7. The test set of claim 4 further including first and second conditioning amplifiers for amplifying the output of said first and second spectrum shaping filters. respectively. said amplifiers including gain and DC offset controls.

8. The test set of claim 4 wherein said delay circuit comprises:

a NAND gate matrix for coarse delay selection; and,

a clock vernier for fine delay control, said vernier including a monostable multivibrator.

9. The test set of claim 4 wherein said comparing means comprises a difference amplifier. 

1. A test set for testing a communications system comprising: a clock; a pseudo-noise sequence generator connected to the output of said clock to provide a digital signal; a variable delay circuit connected to receive said digital signal and to provide a delayed digital signal; a first spectrum shaping filter connected to receive said delayed digital signal and to provide a delayed analog signal; a second spectrum shaping filter connected to receive said digital signal and to provide an analog test signal; means for connecting said analog test signal to the communications system; means for comparing two input signals and providing an output signal indicative of the differences in the signals; and means for connecting the output of said communications system and the delayed analog signal to said comparing means.
 2. The test set of claim 1 wherein said first and second spectrum shaping filters are matched, Butterworth third-order lowpass filters.
 3. The test set of claim 2 wherein said filters are matched to less than 0.005 percent RMS error.
 4. The test set of claim 3 wherein said filters are lowpass filters with a cutoff frequency which is less than one-fifteenth of the clock frequency.
 5. The test set of claim 4 wherein: said clock is an astable multivibrator; and, said pseudo-noise sequence generator is an ML, 20 stage shift-register with feedback from taps (17) and (20).
 6. The test set of claim 4 wherein: said clock has an output frequency of 45 KHz; and, said filters have a cutoff frequency of 1,000 Hz.
 7. The test set of claim 4 further including first and second conditioning amplifiers for amplifying the output of said first and second spectrum shaping filters, respectively, said amplifiers including gain and DC offset controls.
 8. The test set of claim 4 wherein said delay circuit comprises: a NAND gate matrix for coarse delay selection; and, a clock vernier for fine delay control, said vernier including a monostable multivibrator.
 9. The test set of claim 4 wherein said comparing means comprises a difference amplifier. 